<template>
  <el-table :data="tableData" stripe border style="width: 100%">
    <el-table-column prop="date" label="日期" width="180" />
    <el-table-column prop="name" label="姓名" width="180" />
    <el-table-column prop="address" label="住址" width="300" />
  </el-table>
</template>

<script setup>
const tableData = [
  {
    date: '2023-02-03',
    name: '王五',
    address: '北京市海淀区'
  },
  {
    date: '2023-03-02',
    name: '王六',
    address: '北京市昌平区'
  },
  {
    date: '2023-05-04',
    name: '张三',
    address: '北京市丰台区'
  },
  {
    date: '2023-05-01',
    name: '李四',
    address: '北京市大兴区'
  }
]
</script>
